home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac-Source 1994 July
/
Mac-Source_July_1994.iso
/
C and C++
/
System
/
Sample 2.4 Think C distribution
/
rpp.h
< prev
next >
Wrap
Text File
|
1990-07-09
|
1KB
|
52 lines
/*______________________________________________________________________
rpp.h - Report Printing Module Interface.
Copyright © 1988, 1989, 1990 Northwestern University. Permission is granted
to use this code in your own projects, provided you give credit to both
John Norstad and Northwestern University in your about box or document.
_____________________________________________________________________*/
#ifndef __rpp__
#define __rpp__
#include <PrintMgr.h>
typedef void (*rpp_UpdateAll)(void);
typedef struct rpp_PrtBlock {
THPrint hPrint;
short fontNum;
short fontSize;
short topMargin;
short botMargin;
short leftMargin;
short rightMargin;
Boolean reverseOrder;
Boolean header;
char *title;
short titleSep;
short titleFont;
short titleStyle;
short titleSize;
char *titleTmpl;
char *docName;
short dlogID;
short tabConID;
short emptyPageRangeID;
short ditlID;
short sizeRangeID;
short marginsTooBigID;
short truncateRightID;
short truncateBottomID;
short minFontSize;
short maxFontSize;
Boolean menuPick;
rpp_UpdateAll updateAll;
} rpp_PrtBlock;
extern OSErr rpp_Print (Handle repHandle, Boolean printOne, rpp_PrtBlock *p);
extern OSErr rpp_StlDlog (rpp_PrtBlock *p, Boolean *canceled);
#endif